FROM node:12

ENV NODE_ENV=production

WORKDIR /usr/src/app

RUN npm set registry https://registry.npmmirror.com/

COPY ./package.json .

RUN npm install

COPY . .

RUN npm run build
